package LearnAlgorithm.a_eclipseHello;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @author 王英龙(WangYingLong)
 * @version 1.0
 * @date 2023-10-23 15:23
 * @description LeetcodeLearnAlgorithm -> LearnAlgorithm.a_eclipseHello
 */
public class 牛课题小测试 {
    public static void main(String[] args) throws IOException {
        牛课题小测试 test = new 牛课题小测试();
        test.fun3();
    }

    public void fun1() throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String currentLine = null;
        while((currentLine = reader.readLine()) != null) {
            String[] array = currentLine.split(" ");
            /*int result = Arrays.stream(array)
                    .map(Integer::parseInt)
                    .collect(Collectors.toList())
                    .stream()
                    .mapToInt(element -> element)
                    .sum();*/

            int result2 = Arrays.stream(array)
                    .mapToInt(Integer::parseInt)
                    .sum();
            // System.out.println(result + "," + result2);
            System.out.println(result2);
        }
    }


    public void fun2() throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

        String length_Str = reader.readLine();
        int length = Integer.parseInt(length_Str);
        String[] result = reader.readLine().split(" ");
        Arrays.sort(result);
    }

    public void fun3() throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

        String line = reader.readLine();

        String[] strings = line.split(" ");

        List<BigInteger> bigIntegerList = Arrays.stream(strings).map(BigInteger::new).collect(Collectors.toList());

        BigInteger add = bigIntegerList.get(0).add(bigIntegerList.get(1));

        System.out.println(add);
    }
}
/*
1 2 3
4 5
0 0 0 0 0

1 2 3
4 5
0 0 0 0 0

999999999999999999999999999999999999999999 1
 */